package com.ee.service;

import java.util.List;

import com.ee.bean.Equipment;
import com.ee.bean.User;
import com.ee.bean.Workflow;

public interface WorkflowService {
	public void add(Workflow workflow);
	public void update(Workflow workflow);
	public void delete(Workflow workflow);
	public List<Workflow> findAllWorkflows();
	public List<Workflow> findWorkflowsByUser(User user);
	public Workflow findWorkflowByEquipment(Equipment equipment);
	
	public Workflow findWorkflowById(int id);
}
